package com.wk1un2.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wk1un2.mapper.UserReAddressMapper;
import com.wk1un2.service.UserReAddressService;

@Service
public class UserReAddressServiceImpl implements UserReAddressService {

	@Autowired
	private UserReAddressMapper UserReAddressMapper;

	@Override
	public List<Map<String, Object>> getAll(int u_id) {
		// TODO Auto-generated method stub
		return UserReAddressMapper.getAll(u_id);
	}

	@Override
	public Integer add(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return UserReAddressMapper.add(map);
	}

	@Override
	public Integer update(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return UserReAddressMapper.update(map);
	}

	@Override
	public Integer delete(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return UserReAddressMapper.delete(map);
	}

}
